import { Request } from 'egg';

export default {
  msg(this: Request, _httpcode, _code, _msg, _data) {
    return {
      code: _code,
      message: _msg,
      data: _data
    }
  },
}